﻿<style>
    .weui-form-preview__item img {
        width:361px;
    }
</style>
<div class="weui-tab__panel" id="container">
    <div class="home js_show">
        <div class="weui-form-preview">
            <div role="option" aria-labelledby="p1 js_a11y_comma p2 js_a11y_comma p3" class="weui-form-preview__bd" style="text-align:center;">
                <div class="weui-form-preview__item">
                    <img src="~/images/menu/0.png" />
                </div>
            </div>
            <div class="weui-form-preview__ft">
                <a role="button" class="weui-form-preview__btn weui-form-preview__btn_primary" href="javascript:BoardMenu(0);">产线介绍</a>
            </div>
        </div>
        <br />
        <div class="weui-form-preview">
            <div role="option" aria-labelledby="p1 js_a11y_comma p2 js_a11y_comma p3" class="weui-form-preview__bd" style="text-align:center;">
                <div class="weui-form-preview__item">
                    <img src="~/images/menu/1.png" />
                </div>
            </div>
            <div class="weui-form-preview__ft">
                <a role="button" class="weui-form-preview__btn weui-form-preview__btn_primary" href="javascript:BoardMenu(1);">生产计划</a>
            </div>
        </div>
        <br />
        <div class="weui-form-preview">
            <div role="option" aria-labelledby="p1 js_a11y_comma p2 js_a11y_comma p3" class="weui-form-preview__bd" style="text-align:center;">
                <div class="weui-form-preview__item">
                    <img src="~/images/menu/2.png" />
                </div>
            </div>
            <div class="weui-form-preview__ft">
                <a role="button" class="weui-form-preview__btn weui-form-preview__btn_primary" href="javascript:BoardMenu(2);">线内物流</a>
            </div>
        </div>
        <br />
        <div class="weui-form-preview">
            <div role="option" aria-labelledby="p1 js_a11y_comma p2 js_a11y_comma p3" class="weui-form-preview__bd" style="text-align:center;">
                <div class="weui-form-preview__item">
                    <img src="~/images/menu/3.png" />
                </div>
            </div>
            <div class="weui-form-preview__ft">
                <a role="button" class="weui-form-preview__btn weui-form-preview__btn_primary" href="javascript:BoardMenu(3);">数据分析</a>
            </div>
        </div>
        <br/>
    </div>
</div>
<script>
        $(function(){
     $("#tab3").attr('aria-selected','true').addClass('weui-bar__item_on');
    });
    //var _url = "http://192.168.98.127:8020/CtrPms";
    var _url= "https://localhost:5001/CtrPms"
    function BoardMenu(idx) {
        $.ajax({
            url: _url + "/BoardMenu?index=" + idx
            ,success: function(data) {

            }
        });
    }
</script>
